Javascript Beautify
js-beautify for sublime
Details
Installs
- Total 286K
- Win 151K
- Mac 86K
- Linux 49K
Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 4 | 4 | 6 | 7 | 9 | 7 | 3 | 3 | 7 | 9 | 3 | 4 | 3 | 2 | 2 | 4 | 7 | 3 | 4 | 3 | 4 | 3 | 2 | 4 | 5 | 7 | 2 | 3 | 6 | 3 | 10 | 3 | 6 | 8 | 3 | 2 | 5 | 3 | 5 | 8 | 7 | 3 | 1 | 9 | 5 |
Mac | 1 | 1 | 4 | 4 | 4 | 6 | 0 | 1 | 1 | 4 | 3 | 3 | 7 | 3 | 3 | 2 | 1 | 2 | 3 | 4 | 2 | 1 | 0 | 6 | 5 | 3 | 6 | 2 | 1 | 2 | 3 | 3 | 1 | 4 | 0 | 0 | 1 | 7 | 1 | 6 | 2 | 1 | 3 | 2 | 1 | 2 |
Linux | 1 | 1 | 2 | 1 | 2 | 1 | 3 | 2 | 1 | 0 | 0 | 1 | 1 | 2 | 1 | 3 | 2 | 4 | 3 | 1 | 1 | 1 | 0 | 1 | 1 | 3 | 3 | 3 | 0 | 2 | 1 | 3 | 2 | 1 | 3 | 1 | 0 | 5 | 3 | 0 | 2 | 2 | 2 | 0 | 2 | 2 |
Readme
- Source
- raw.githubusercontent.com
Project Deprecated
Project Deprecated , since that I am busy with another project and most of the time I use atom, the project deprecated , andbody who use js beautify can use https://github.com/jdc0589/JsFormat
Thanks.
JS Beautify Wrapper for Sublime Text
Installation
1.Just 'Javascript Beautify' from Sublime's package manager.
Comment
1.current support embed js within jade file
Settings
JS Beautify sublime default settings (the same as js-beautify settings),only add // jsbeautify options “format_on_save”: true
{
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": false,
"brace_style": "collapse",
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
// jsbeautify options
"format_on_save": true
}
License
You are free to use this in any way you want, in case you find this useful or working for you but you must keep the copyright notice and license. (MIT)
Credits
- Written by Edwin Liu, enginespot@gmail.com
- Get Idea from JsFormat Library by Davis Clark